package com.bdqn.desiremall.mapper;

import java.util.List;

import com.bdqn.desiremall.entity.Mall_Goods;
import com.bdqn.desiremall.entity.Mall_ShoppingCart;


public interface Mall_ShoppingCartMapper {
    /**
     * �����Ʒ�����ﳵ
     * @param goodsId ��Ʒ���
     * @param userId  �û����
     * @return
     */
	int addGoodsToCart(Mall_ShoppingCart shoppingCart);

	/**
	 * ��ѯ���ﳵ
	 * @param userId �û����
	 * @return
	 */
   List<Mall_Goods> findShoppingCart(int userId);

   /**
    * ɾ���ﳵ����Ʒ
    * @param shoppingCartId
    * @return
    */
     int modifyShoppingCart(int CartId);
}